package org.boulderfoodrescue.webapp.client.pickuptimes.timepicker;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.DialogBox;

public class TimeZoneDialogBox extends DialogBox{
	private TimeZoneDialogPanel panel;
	public TimeZoneDialogBox(){
		panel = new TimeZoneDialogPanel();
		panel.getCancel_button().addClickHandler(new ClickHandler(){
			@Override
      public void onClick(ClickEvent event) {
	      hideDlg();
      }
		});
		panel.getSet_button().addClickHandler(new ClickHandler(){
			@Override
      public void onClick(ClickEvent event) {
	      hideDlg();
      }
		});
		this.add(panel);
	}
	private void hideDlg(){
		hide();
	}
}
